from celery import Celery
from kombu import serialization
from flask_app import _get_config

celery_app = Celery(__name__, broker=_get_config.CELERY_BROKER_URL, backend=_get_config.CELERY_RESULT_BACKEND)
celery_app.config_from_object(_get_config)
